package com.erp.erp_ui.warehouse.req;

import java.io.Serializable;

/**
 * @ClassName : InventoryByStockReq
 * @Description : 盘点-查询库存入参实体
 * @Author : lst
 * @Date: 2020-07-24 13:18
 */
public class StockInfoReq implements Serializable {
    private static final long serialVersionUID = 4559822464503862249L;

    /**
     * 合同类型
     */
    private Integer contractType;

    /**
     * 合同号
     */
    private String contractNo;

    /**
     * 业务员
     */
    private String salesman;

    /**
     * 业务员编码
     */
    private String salesmanCode;

    /**
     * 仓库id
     */
    private String warehouseId;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 规格编码
     */
    private String specificationCode;

    /**
     * 产品中文名称
     */
    private String productCName;

    /**
     * 产品英文名称
     */
    private String productEName;

    /**
     * 批次号
     */
    private String lotNo;

    /**
     * 是否显示0库存(0:不显示 1:显示)
     */
    private Integer zeroStock;

    /**
     * 查询日期（开始时间）
     */
    private String startTime;

    /**
     * 查询日期（结束时间）
     */
    private String endTime;

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public String getSalesmanCode() {
        return salesmanCode;
    }

    public void setSalesmanCode(String salesmanCode) {
        this.salesmanCode = salesmanCode;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getProductCName() {
        return productCName;
    }

    public void setProductCName(String productCName) {
        this.productCName = productCName;
    }

    public String getProductEName() {
        return productEName;
    }

    public void setProductEName(String productEName) {
        this.productEName = productEName;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public Integer getZeroStock() {
        return zeroStock;
    }

    public void setZeroStock(Integer zeroStock) {
        this.zeroStock = zeroStock;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("InventoryByStockReq").append('[')
                .append("contractType=")
                .append(contractType)
                .append(",contractNo=")
                .append(contractNo)
                .append(",salesman=")
                .append(salesman)
                .append(",salesmanCode=")
                .append(salesmanCode)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",productCName=")
                .append(productCName)
                .append(",productEName=")
                .append(productEName)
                .append(",lotNo=")
                .append(lotNo)
                .append(",zeroStock=")
                .append(zeroStock)
                .append(",startTime=")
                .append(startTime)
                .append(",endTime=")
                .append(endTime)
                .append(']');
        return sb.toString();
    }
}
